package org.bigjava.biz;

import org.bigjava.bean.Xiaoqu;

import java.util.List;

public interface XiaoquService {

    //根据小区名称或小区地址模糊查询
    public List<Xiaoqu> xiaoQuMoHu(String name,String address);
    //根据id修改小区信息
    public int xiaoQuXiuGai(Xiaoqu xiaoqu);
    //根据id查小区信息
    public Xiaoqu xiaoQuId(int id);
    //根据id假删除小区
    public int xiaoQuShanChu(int id);
    //小区总数
    public int xiaoQuZong();
    //分页查询小区
    public List<Xiaoqu> xiaoQuFenYe(int offset , int length);
    //添加小区
    public int xiaoQuAdd(Xiaoqu xiaoqu);
    //全部小区
    public List<Xiaoqu> xiaoQuQuan();
}
